package cn.tedu.demo.service.impl;

import cn.tedu.demo.entity.Echarts;
import cn.tedu.demo.mapper.EchartsMapper;
import cn.tedu.demo.service.EchartsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EchartsServiceImpl implements EchartsService {
    @Autowired
    private EchartsMapper echartsMapper;


    @Override
    public List<Echarts> echarts() {
        List<Echarts> echartsList = echartsMapper.selectList(null);
        return echartsList;
    }
}
